﻿using System;
using System.ServiceModel;
using System.Net.Security;

namespace Server {
	// Define a service contract.
	[ServiceContract(Namespace = "http://ServiceModel.Server", SessionMode = SessionMode.Required,
		CallbackContract = typeof(IServiceModelServerCallback))]
	public interface IServiceModelServer {
		[OperationContract]
		Boolean TestConnection();

		[OperationContract]
		void Disconnect();
		Guid Guid {
			[OperationContract]
			get;
		}

		[OperationContract]
		Guid Reconnect(Guid guid);

		[OperationContract]
		void TestResultReady(Guid guid);
	}
}
